<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>My Servlet Jsp Model Mvc:Edit</title>
</head>
<body>
<div class="head">
	<span class="toHome"><a href="<c:url value="/index" /> " > 返回首页</a></span>
</div>

<div class="question">
	<form action="<c:url value="post.do" /> " method="POST">
	<ul>
		<li>
			<label for="title">[标题:]</label><br/>
			<input type="text" maxlength="100" size="50" name="title" />
		</li>
		
		<li>
			<label for="content">[内容:]</label><br/>
			<textarea rows="10" cols="60" name="content"> </textarea>
		</li>
		<li>
			<input type="submit" value="提交" /> <input type="reset" value="重置" />
		</li>
	</ul>

	</form>

</div>
<div class="foot">
	 getServletPath:
	 <%=request.getServletPath()%> <br/>
	 getContextPath:
	 <%=request.getContextPath() %><br/>
	 getRequestURL:
	 <%=request.getRequestURL() %><br/>
	 getRequestURI
	 <%=request.getRequestURI() %><br/>
	 getRemoteHost:
	 <%=request.getRemoteHost() %><br/>
	 getRemoteAddr:
	 <%=request.getRemoteAddr() %><br/>
	 getLocalAddr:
	 <%=request.getLocalAddr() %><br/>
	 getLocalName:
	 <%=request.getLocalName() %>
</div>
</body>
</html>